<?$this->load->view('rs12/header');?>

<div class="post">
<div class="post_h"></div>
<div class="postcontent">
<h1>Search Results</h1>
</div>
</div>

<?foreach ($this->mdl_posts->get(array('search_hash'=>$this->uri_assoc['hash'])) as $post) {?>

<div class="post">
<div class="post_h"></div>

<div class="postcontent">
<span class="date"><?=date('F d, Y', $post->date);?> </span>
<h2><?=$this->inktype->anchor('post/' . $post->url_title, $post->title);?></h2>
	<?=$post->excerpt;?>
</div>
<div class="post_b">
<span class="permalink"><?=$this->inktype->anchor('post/' . $post->url_title, 'Read Full Story');?></span> <span class="category"><?=$this->inktype->category_links($post, 'category');?></span> <span class="comment"><?=$this->inktype->anchor('post/' . $post->url_title, $post->num_comments . ' Comments');?></span></div>
</div>

<?}?>

<div id="pagination"><span><?=$this->mdl_posts->page_links;?></span>

</div>
</div>

<?$this->load->view('rs12/sidebar');?>

<?$this->load->view('rs12/footer');?>